﻿using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using YArchitech.Controls;
using YArchitech.LIB;

namespace YArchitech.HVAC
{
	public partial class ParameterDisplayForm : System.Windows.Forms.Form
	{
		public ParameterDisplayForm()
		{
			new YJKProcessTools().ShowInTaskbarChange(this);
			this.InitializeComponent();
		}

		public ParameterDisplayForm(HYPropertys hyPropertys)
		{
			this.InitializeComponent();
			new YJKProcessTools().ShowInTaskbarChange(this);
			this.propertyGrid1.SelectedObject = hyPropertys;
		}

		private void btnOk_Click(object sender, EventArgs e)
		{
			base.DialogResult = DialogResult.OK;
		}
	}
}
